/* 弹窗基础样式 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: white;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}
.modal.active .modal-content {
  transform: translateY(0);
}
/* 弹窗头部 */
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
}
.head-left {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}
.head-right {
  cursor: pointer;
  font-size: 20px;
  color: #999;
  transition: color 0.2s;
}
.head-right:hover {
  color: #333;
}
/* 弹窗内容区 */
.modal-center {
  padding: 20px;
}
/* 无数据状态 */
.no-data {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}
.no-data i {
  font-size: 50px;
  margin-bottom: 15px;
  display: block;
  color: #ddd;
}
/* 数据列表项 */
.data-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}
.data-left {
  flex: 1;
  padding-right: 15px;
  word-break: break-word;
  color: #333;
}
.data-right-btn {
  padding: 8px 15px;
  background: #1890ff;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.data-right-btn:hover {
  background: #40a9ff;
}
/* 响应式调整 */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
  }
  .modal-center {
    padding: 15px;
  }
}
@media (max-width: 480px) {
  .data-list {
    flex-direction: column;
    align-items: flex-start;
  }
  .data-right-btn {
    margin-top: 10px;
    align-self: flex-end;
  }
  .modal-head {
    padding: 12px 15px;
  }
  .head-left {
    font-size: 16px;
  }
}
/**分页样式*/
.l-page {
  margin-top: 1.875rem;
  margin-bottom: 3.4375rem;
  text-align: center;
}
.ui-pagination-page-item.active {
  background-color: #2771ff;
  border: 0.0625rem solid #2771ff;
  color: #fff;
}
.ui-pagination-page-item {
  margin: 0 0.625rem;
  padding: 0.3125rem 0.625rem;
  color: #636363;
  font-size: 0.875rem;
  border-radius: 50%;
  text-decoration: none;
  display: inline-block;
}
.ui-pagination-page-item:hover {
  color: #636363;
}
.ui-pagination-page-item.active:hover {
  color: #fff;
}
.wrap {
  width: 37.5rem;
  margin: 3.125rem auto;
}
.no-data {
  text-align: center;
  margin: 0 auto;
}
.no-data .no-img {
  width: 100%;
}
.no-data .fi {
  font-size: 9.375rem;
  color: #999;
}
.no-data p {
  color: #999;
}
